package com.shanzmoo.db.store.entity.vo;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 仓储用户库存流水 vo对象
 *
 * @author Gzhao 2021-03-08
 */
@Data
@ApiModel("仓储用户库存流水-vo询对象")
public class StoreMemberStockIoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "流水ID")
    private Integer id;

    @ApiModelProperty(value = "商品sku")
    private String sku;

    @ApiModelProperty(value = "入（出）库仓库编码")
    private String storeCode;

    @ApiModelProperty(value = "商品名称")
    private String skuName;

    @ApiModelProperty(value = "库存数量")
    private Integer skuNum;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "库存流向：1-入库,0-出库")
    private Boolean flow;

    @ApiModelProperty(value = "关联单号")
    private String originBill;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

}
